package com.jtlrm.ckd.entity;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

public class AreaEntity implements IPickerViewData {
    private Long Id;
    private String AreaName;
    private List<AreaEntity> Children;

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getAreaName() {
        return AreaName;
    }

    public void setAreaName(String areaName) {
        AreaName = areaName;
    }

    public List<AreaEntity> getChildren() {
        return Children;
    }

    public void setChildren(List<AreaEntity> children) {
        Children = children;
    }

    @Override
    public String getPickerViewText() {
        return AreaName;
    }
}
